package com.liao.dao;

import com.liao.bean.Param;

import java.util.List;

public interface ParamDao {

    /**
     * 根据参数键名模糊查询列表
     * @param paramKey
     * @return
     * @throws Exception
     */
    List<Param> selectParamListLikeParamName(String paramKey) throws Exception;

    /**
     * 添加会员
     * @param param
     * @throws Exception
     */
    void addParam(Param param) throws Exception;

    /**
     * 修改会员
     * @param param
     * @throws Exception
     */
    void updateParam(Param param) throws Exception;

    /**
     * 根据id删除会员
     * @param paramId
     * @throws Exception
     */
    void deleteParam(String paramId) throws Exception;
}
